package com.sgb.member.entity;

public class MemberCheckStateEntity {

    private String no;
    private String code;
    private String message;

    public String getNo() {
        if (no == null)
            return "";
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean goodsIsGone() {
        return "225".equals(code) || "223".equals(code) || "230".equals(code);
    }

    public boolean goodsIsReceipted() {
        return "224".equals(code) || "201".equals(code);
    }
}
